package com.tjetc.mapper;

import com.tjetc.domain.District;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DistrictMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(District record);

    int insertSelective(District record);

    District selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(District record);

    int updateByPrimaryKey(District record);
    @Select("select * from district where city_id=1")
    List<District> selBeijing();
}